package com.logic.landseaserver.persistence.read;

import java.util.Date;
import java.util.List;

import com.logic.landseaserver.domain.Message;

public interface MessageReadMapper {
    Message selectByPrimaryKey(Integer id);

    List<Message> querySendMessage(Message message);

    //List<Message> queryMyMessage(Integer userId);

    Integer queryMessageCount(Integer userId);

    List<Integer> getUserIdsByDate(Date startDate, Date endDate);

    Integer queryCountsByPhone(String phone);

}